package com.example.demo.service;

import com.example.demo.entity.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.DTO.GoodsDTO;
import com.example.demo.entity.DTO.SelectCarDTO;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author Mr.sdy
 * @since 2024-06-06
 */
public interface ICarService extends IService<Car> {
    //添加购物车
    boolean addCar(Car car);
    //查询购物车
    List<SelectCarDTO> selectCar(Integer car);
}
